export const administrationRecordForm = (item) => {
	return [
		{
			fieldName: "id",
			fieldCNName: "",
			filedValue: "",
			/** 字段类型，inputText，inputPwd,inputNumber,date,datetime,dateRange,textarea,upload,select,radio,checkbox,switch*/
			type: "",
		},
		{
			/** 字段名，如：name */
			fieldName: "examineeCode",
			/** 字段对应的中文解释，如：姓名 */
			fieldCNName: "受试者编号",
			/** 字段的值，如：张三 */
			filedValue: 1,
			disabled: true,
			/** 字段类型，inputText，inputPwd,inputNumber,date,datetime,dateRange,textarea,upload,select,radio,checkbox,switch*/
			type: "inputText",
			rules: {
				required: true, // 只有为true的时候才写，为false这个字段不要
			},
			span: 2,
		},
		{
			disabled: true,
			/** 字段名，如：name */
			fieldName: "examineeName",
			/** 字段对应的中文解释，如：姓名 */
			fieldCNName: "受试者姓名",
			/** 字段的值，如：张三 */
			filedValue: 1,
			/** 字段类型，inputText，inputPwd,inputNumber,date,datetime,dateRange,textarea,upload,select,radio,checkbox,switch*/
			type: "inputText",
			rules: {
				required: true, // 只有为true的时候才写，为false这个字段不要
			},
			span: 2,
		},
		{
			disabled: true,
			/** 字段名，如：name */
			fieldName: "randomNo",
			/** 字段对应的中文解释，如：姓名 */
			fieldCNName: "随机号",
			/** 字段的值，如：张三 */
			filedValue: 1,
			/** 字段类型，inputText，inputPwd,inputNumber,date,datetime,dateRange,textarea,upload,select,radio,checkbox,switch*/
			type: "inputText",
			span: 2,
			rules: {
				required: true, // 只有为true的时候才写，为false这个字段不要
			},
		},
		{
			/** 字段名，如：name */
			fieldName: "drugNo",
			/** 字段对应的中文解释，如：姓名 */
			fieldCNName: "基于给药序号",
			/** 字段的值，如：张三 */
			filedValue: 1,
			/** 字段类型，inputText，inputPwd,inputNumber,date,datetime,dateRange,textarea,upload,select,radio,checkbox,switch*/
			type: "select",
			span: 2,
			itemList: item,
			rules: {
				required: true, // 只有为true的时候才写，为false这个字段不要
			},
		},
		{
			disabled: true,
			fieldName: "drugPlanTime",
			fieldCNName: "计划给药时间",
			filedValue: "",
			/** 字段类型，inputText，inputPwd,inputNumber,date,datetime,dateRange,textarea,upload,select,radio,checkbox,switch*/
			type: "datetime",
			span: 2,
			rules: {
				required: true, // 只有为true的时候才写，为false这个字段不要
			},
		},
		{
			disabled: true,
			fieldName: "drinkWater",
			fieldCNName: "饮水量",
			filedValue: "",
			/** 字段类型，inputText，inputPwd,inputNumber,date,datetime,dateRange,textarea,upload,select,radio,checkbox,switch*/
			type: "inputNumber",
			span: 2,
		},
		{
			disabled: true,
			fieldName: "drugCondition",
			fieldCNName: "给药条件",
			filedValue: "",
			/** 字段类型，inputText，inputPwd,inputNumber,date,datetime,dateRange,textarea,upload,select,radio,checkbox,switch*/
			type: "textarea",
		},
		{
			disabled: true,
			fieldName: "drugLabel",
			fieldCNName: "给药标签",
			filedValue: "",
			/** 字段类型，inputText，inputPwd,inputNumber,date,datetime,dateRange,textarea,upload,select,radio,checkbox,switch*/
			type: "inputText",
			span: 2,
		},
		{
			fieldName: "drugByName",
			fieldCNName: "给药人",
			filedValue: "",
			/** 字段类型，inputText，inputPwd,inputNumber,date,datetime,dateRange,textarea,upload,select,radio,checkbox,switch*/
			type: "inputText",
			span: 2,
		},
		{
			fieldName: "drugTime",
			fieldNames: ["drugBeginTime", "drugEndTime"],
			fieldCNName: "给药时间",
			filedValue: [],
			/** 字段类型，inputText，inputPwd,inputNumber,date,datetime,dateRange,textarea,upload,select,radio,checkbox,switch*/
			type: "datetimerange",
			span: 2,
			rules: {
				required: true, // 只有为true的时候才写，为false这个字段不要
			},
		},
		{
			fieldName: "remarks",
			fieldCNName: "异常备注",
			filedValue: "",
			/** 字段类型，inputText，inputPwd,inputNumber,date,datetime,dateRange,textarea,upload,select,radio,checkbox,switch*/
			type: "textarea",
		},
		{
			fieldName: "verifyByName",
			fieldCNName: "核对人",
			filedValue: "",
			/** 字段类型，inputText，inputPwd,inputNumber,date,datetime,dateRange,textarea,upload,select,radio,checkbox,switch*/
			type: "inputText",
			span: 2,
		},
		{
			fieldName: "verifyTime",
			fieldCNName: "核对时间",
			filedValue: "",
			/** 字段类型，inputText，inputPwd,inputNumber,date,datetime,dateRange,textarea,upload,select,radio,checkbox,switch*/
			type: "datetime",
			span: 2,
		},
	]
}
